home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / File / Static / Makefile < prev   
Makefile  |  1995-09-04  |  2KB  |  98 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.AllocLoad    \
  4.             o.Exists    \
  5.             o.IsDir    \
  6.             o.LoadTo    \
  7.             o.printf    \
  8.             o.SetType    \
  9.             o.Size    \
  10.             o.Date    \
  11.             o.Delete    \
  12.             o.FileOps    \
  13.             o.GetType    \
  14.  
  15.  
  16. LibName        =    File
  17.  
  18. # Template makefile which makes normal 
  19. # .o files for use in the main static
  20. # linking DeskLib.
  21.  
  22. # The macro $(ObjectFiles) should be set at the 
  23. # start of this file to be a space-separated
  24. # list of object files.
  25. # This is done by 'Makatic'.
  26.  
  27. # The macro $(LibName) should also be set at the 
  28. # start of this file, to be the name of the 
  29. # DeskLib sublibrary.
  30. # This is done by 'Makatic'.
  31.  
  32. # Compiler and linker flags, These can be anything. 
  33. # All essential flags are included in the macros 
  34. # $(CC) and $(ASM)
  35. #
  36. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  37. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  38.  
  39. CC        =    cc -c $(CCFlags)
  40. ASM        =    objasm $(ASMFlags)
  41.  
  42.  
  43. # -------------------------------------------------------
  44. # Everything below here should probably not be changed...
  45. # -------------------------------------------------------
  46.  
  47. # Here's what we want to make...
  48. #
  49. All:        $(ObjectFiles)
  50.  
  51.  
  52. VPATH = @.^
  53.  
  54. .SUFFIXES:    .c .s .o
  55.  
  56. .c.o:
  57.     $(CC) $< -o $@
  58.     
  59. .s.o:
  60.     $(ASM) -from $< -to $@
  61.  
  62.  
  63.  
  64. # Dynamic dependencies:
  65. o.AllocLoad:    ^.c.AllocLoad
  66. o.AllocLoad:    DeskLib:h.File
  67. o.AllocLoad:    DeskLib:h.Core
  68. o.AllocLoad:    DeskLib:h.SWI
  69. o.Exists:    ^.c.Exists
  70. o.Exists:    DeskLib:h.File
  71. o.Exists:    DeskLib:h.Core
  72. o.Exists:    DeskLib:h.SWI
  73. o.Exists:    C:h.kernel
  74. o.IsDir:    ^.c.IsDir
  75. o.IsDir:    DeskLib:h.Core
  76. o.IsDir:    DeskLib:h.File
  77. o.IsDir:    DeskLib:h.SWI
  78. o.IsDir:    DeskLib:h.SWI
  79. o.LoadTo:    ^.c.LoadTo
  80. o.LoadTo:    C:h.kernel
  81. o.LoadTo:    DeskLib:h.Core
  82. o.LoadTo:    DeskLib:h.SWI
  83. o.LoadTo:    DeskLib:h.File
  84. o.printf:    ^.c.printf
  85. o.printf:    DeskLib:h.File
  86. o.printf:    DeskLib:h.Core
  87. o.printf:    DeskLib:h.SWI
  88. o.SetType:    ^.c.SetType
  89. o.SetType:    C:h.kernel
  90. o.SetType:    DeskLib:h.File
  91. o.SetType:    DeskLib:h.Core
  92. o.SetType:    DeskLib:h.SWI
  93. o.Size:    ^.c.Size
  94. o.Size:    C:h.kernel
  95. o.Size:    DeskLib:h.file
  96. o.Size:    DeskLib:h.Core
  97. o.Size:    DeskLib:h.SWI
  98.